home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Diversos / cheezy_chums.swf / scripts / DefineButton2_51 / BUTTONCONDACTION on(keyPress Left).as next >
Encoding:
Text File  |  2006-06-13  |  240 b   |  12 lines

  1. on(keyPress "<Left>"){
  2.    if(eval("/:pad_locx") >= "90")
  3.    {
  4.       setProperty("_level0/paddle", _X, eval("/:pad_locx") - "22");
  5.       tellTarget("chip")
  6.       {
  7.          gotoAndStop("runright");
  8.          play();
  9.       }
  10.    }
  11. }
  12.